type encoding/json.encodeState
28 uses
encoding/json (current package)
encode.go#L251: type encodeState struct {
encode.go#L267: func newEncodeState() *encodeState {
encode.go#L269: e := v.(*encodeState)
encode.go#L277: return &encodeState{ptrSeen: make(map[any]struct{})}
encode.go#L285: func (e *encodeState) marshal(v any, opts encOpts) (err error) {
encode.go#L300: func (e *encodeState) error(err error) {
encode.go#L322: func (e *encodeState) reflectValue(v reflect.Value, opts encOpts) {
encode.go#L333: type encoderFunc func(e *encodeState, v reflect.Value, opts encOpts)
encode.go#L358: fi, loaded := encoderCache.LoadOrStore(t, encoderFunc(func(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L428: func invalidValueEncoder(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L432: func marshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L454: func addrMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L473: func textMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L490: func addrTextMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L504: func boolEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L512: func intEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L520: func uintEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L530: func (bits floatEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L569: func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L655: func interfaceEncoder(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L663: func unsupportedTypeEncoder(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L677: func (se structEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L724: func (me mapEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L779: func encodeByteSlice(e *encodeState, v reflect.Value, _ encOpts) {
encode.go#L802: func (se sliceEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L842: func (ae arrayEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L863: func (pe ptrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
encode.go#L891: func (ce condAddrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |